Getting a PS/2 Microsoft Cordless Wheel Mouse working correctly under X-windows takes a litte bit of tweaking. In the Pointer Section of /etc/X11/XF86Config, set the following: Protocol "MouseSystems" Device "/dev/gpmdata" Then, make your gpm start like so: gpm -R -t imps2 You should be all set. (Of course ;-), this doesn't get the scroll mouse working, only the button. To explain: -gpm's "-t imps2" option reads the mouse input as if it were a "Microsoft Intellimouse (ps2) - 3 buttons, wheel unused". -Then gpm's "-R" option pushes mouse output to /dev/gpmdata in the "MouseSystems" format. -So you have to set X-windows to read the new device in the new format. You can also control mouse speed and acceleration and other things from gpm. Check it out. Here's a snippet of my /etc/X11/XF86Config # ********************************************************************** # Pointer section # ********************************************************************** Section "Pointer" # To make my "Microsoft Cordless Wheel Mouse Serial and PS/2 Compatible" # work, I have to set the following: # -Protocol set to "MouseSystems" (because that's what the /dev/gpmdata # device outputs) # -Device set to "/dev/gpmdata" (because, when I set "gpm -R ..." that's where # it gets output to, instead of /dev/mouse # -I run "gpm -R -t imps2 -a 1" which says: # -R process the output through gpm and out to /dev/gpmdata # -t imps2 read the mouse as a 3 button Microsoft Intellimouse # -a 1 set the acceleration from the default of 2 to 1 # # So I'll bet you're wondering why I port the mouse through # "-R" --> "/dev/gpmdata". After all, it shouldn't make a difference... # should it? Well, for whatever reason, it DOES make a difference. So # I do it and don't ask questions. # # thanks to http://www.linuxhq.com/HOWTO/mini/3-Button-Mouse-8.html for # pointing me in the right direction on this hack. # Protocol "PS/2" Protocol "MouseSystems" Device "/dev/gpmdata" # Device "/dev/mouse"